﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Qu.SeniorProject.Model
{
    public partial class Student
    {
        //public string ToString {
        //    get
        //    {
        //        return ToString();
        //    }
        //}

        public override string ToString()
        {
            return string.Format("{0} {1} {2} (Major: {3} - Gender: {4} - CrHours {5}: {6})", StudentId, FirstName, LastName, Major, Gender, LastTerm, EarnedHrs);
        }

        public string ToShortString()
        {
            return string.Format("{0} {1} {2} ({3})", StudentId, FirstName, LastName, Major);
        }

        public string GetFullName()
        {
            return string.Format("{0} {1}", FirstName, LastName);
        }
    }
}
